package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import com.itheima.pojo.Address;

import java.util.List;

/**
 * @author aili
 * @create 2020-05-16 12:47
 */

public interface AddressService {
    List<Address> getAllAddress();
 public List<String> findAddress();



    //通过id获取1个地址
    Address getAddressById(Integer id);


    PageResult findPage(QueryPageBean queryPageBean);

    //添加地址
    void add(Address address);

    void delete(int id);



}
